<!--
  Generated template for the RegisterPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

    <ion-navbar>
        <ion-title>注册</ion-title>
        
      </ion-navbar>
    
</ion-header>


<ion-content>
    <ion-list>
        <ion-item>
          <ion-label stacked>手机号码</ion-label>
          <ion-input type="text" [(ngModel)]="mobile"></ion-input>>
        </ion-item>
    
        <ion-item>
            <ion-label stacked>昵称</ion-label>
            <ion-input type="text" [(ngModel)]="nickname"></ion-input>
          </ion-item>
      
    
        <ion-item>
            <ion-label stacked>密码</ion-label>
            <ion-input type="password" [(ngModel)]="password"></ion-input>
          </ion-item>
     
    
        <ion-item>
            <ion-label stacked>确认密码</ion-label>
            <ion-input type="password" [(ngModel)]="confirmPassword"></ion-input>
          </ion-item>
      </ion-list>
    
    <div padding>
      <button ion-button color="primary" block (click)="doRegister()" >注册</button>
    </div>
    <div padding text-center>
      <button ion-button color="primary" outline [navPush]="LoginPage" >已有账号？ 直接登录</button>
    </div>
</ion-content>
